feat(core): normalize public providers schema - #1708
Merged
Conversation
Deploying agentv with
|
| Latest commit: |
b3130d3
|
| Status: | ✅ Deploy successful! |
| Preview URL: | https://81c48f96.agentv.pages.dev |
| Branch Preview URL: | https://feat-av-ctfu-providers-schem.agentv.pages.dev |
Collaborator
Author
|
CI follow-up pushed in Root cause fixed: stale generated eval bundles, rerun override catalogs, TS eval lowering, CLI tests, and example eval YAML still authored old Local validation:
Live dogfood:
Fresh CI is running on commit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
providerssupport and normalizeproviders[].id/labelinto the existing internal target modeltargets, suite/assertion target fields,defaults.target, andgraderswith migration guidanceagentv:codex-cli, and migrate the repo-local provider catalogValidation
bun test packages/core/test/evaluation/loaders/config-loader.test.ts packages/core/test/evaluation/providers/targets-file.test.ts packages/core/test/evaluation/loaders/grader-parser.test.ts packages/core/test/evaluation/eval-inline-experiment.test.ts packages/core/test/evaluation/validation/eval-file-schema.test.ts packages/core/test/evaluation/validation/eval-validator.test.ts packages/core/test/evaluation/validation/targets-validator.test.ts packages/core/test/evaluation/providers/targets.test.tsbunx biome check <changed source/test/schema files>bun --filter @agentv/core typecheckbun --filter agentv typecheckbun apps/cli/src/cli.ts validate .agentv/targets.yamlbun test packages/core/test/evaluation/providers/targets-file.test.ts packages/core/test/evaluation/validation/targets-validator.test.ts packages/core/test/evaluation/providers/targets.test.ts packages/core/test/evaluation/loaders/config-loader.test.tsgit diff --checkDogfood
Attempted live dogfood after copying
.envfrom the primary checkout. The run reached provider invocation, butOPENAI_API_KEYin the copied env resolves todummy, so OpenAI returned HTTP 401. This PR remains draft until a live provider + real LLM grader run is completed with real credentials.Follow-up
agentv:codex-clito a generated TSfile://...:callApiprovider or a complete package provider id such aspackage:@agentv/promptfoo-providers:CodexCliProvider, not shell/sh exec wrappers.